.class Lcom/netease/newsreader/util/SkinSettingAdapter$2;
.super Ljava/lang/Object;
.source "SkinSettingAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/util/SkinSettingAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/util/SkinSettingAdapter;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/util/SkinSettingAdapter$2;->this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;

    .line 127
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    .line 130
    iget-object v2, p0, Lcom/netease/newsreader/util/SkinSettingAdapter$2;->this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;

    invoke-static {v2}, Lcom/netease/newsreader/util/SkinSettingAdapter;->access$5(Lcom/netease/newsreader/util/SkinSettingAdapter;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/netease/newsreader/util/SkinSettingAdapter$2;->this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;

    iget-object v3, p0, Lcom/netease/newsreader/util/SkinSettingAdapter$2;->this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;

    invoke-static {v3}, Lcom/netease/newsreader/util/SkinSettingAdapter;->access$1(Lcom/netease/newsreader/util/SkinSettingAdapter;)Landroid/widget/ListView;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/netease/newsreader/util/SkinSettingAdapter;->access$6(Lcom/netease/newsreader/util/SkinSettingAdapter;Landroid/widget/ListView;)V

    .line 131
    :cond_0
    iget-object v2, p0, Lcom/netease/newsreader/util/SkinSettingAdapter$2;->this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;

    invoke-static {v2}, Lcom/netease/newsreader/util/SkinSettingAdapter;->access$0(Lcom/netease/newsreader/util/SkinSettingAdapter;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/netease/newsreader/util/SkinSettingAdapter$2;->this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;

    iget-object v3, p0, Lcom/netease/newsreader/util/SkinSettingAdapter$2;->this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;

    invoke-static {v3}, Lcom/netease/newsreader/util/SkinSettingAdapter;->access$1(Lcom/netease/newsreader/util/SkinSettingAdapter;)Landroid/widget/ListView;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/netease/newsreader/util/SkinSettingAdapter;->access$2(Lcom/netease/newsreader/util/SkinSettingAdapter;Landroid/widget/ListView;)V

    .line 136
    :cond_1
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 137
    .local v0, idString:Ljava/lang/String;
    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    .line 138
    .local v1, intId:I
    iget-object v2, p0, Lcom/netease/newsreader/util/SkinSettingAdapter$2;->this$0:Lcom/netease/newsreader/util/SkinSettingAdapter;

    invoke-static {v2}, Lcom/netease/newsreader/util/SkinSettingAdapter;->access$7(Lcom/netease/newsreader/util/SkinSettingAdapter;)Landroid/content/Context;

    move-result-object v2

    invoke-static {v2, v1}, Lcom/netease/newsreader/util/SkinUtil;->InstallPackage(Landroid/content/Context;I)V

    .line 139
    return-void
.end method
